import React from 'react';
import { Config } from '../types';
import { Lazy } from '@/components';

import {
  FundOutlined,
  DatabaseOutlined
} from '@ant-design/icons';

export default [
  {
    exact: true,
    hideMenu: true,
    path: '/home/image',
    redirect: '/home/image/classify'
  },
  {
    exact: true,
    title: '图片分类',
    path: '/home/image/classify',
    icon: <DatabaseOutlined />,
    component: Lazy(() => import('../../pages/image/classify'))
  },
  {
    exact: true,
    title: '图片列表',
    path: '/home/image/list',
    icon: <FundOutlined />,
    component: Lazy(() => import('../../pages/image/list'))
  },
] as Config[];
